﻿


function auto_split(val)
{
    return val.split(/,\s*/);
}
function auto_extractLast(term)
{
    return split(term).pop();
}